package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.ComputerRoom;

import java.util.List;

public interface ComputerRoomMapper {
    List<ComputerRoom> getComputerRoomListByRoomName(@Param("roomName") String roomName);
    int addComputerRoom(ComputerRoom computerRoom);
    int updateComputerRoom(ComputerRoom computerRoom);
    int delComputerRoom(@Param("id") int id);
    int countByRoomName(@Param("roomName") String roomName);
    ComputerRoom getComputerRoomById(@Param("id") int id);
}
